﻿using Microsoft.EntityFrameworkCore;
using MineMES.Domain.Entity;
using System;

namespace MineMES.EntityFrameworkCore
{
    public class MineMESDbContext : DbContext
    {
        public MineMESDbContext(DbContextOptions<MineMESDbContext> options)
        : base(options) { }
        public DbSet<Account> Accounts { get; set; }
        public DbSet<Sys_User> Sys_Users { get; set; }

        public DbSet<Sys_User> Sys_Depart { get; set; }
    }
}
